package com.ruoyi.manage.organization.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.ruoyi.manage.organization.domain.OcBusinessFinancingOrder;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.manage.organization.domain.vo.OcBusinessFinancingOrderVo;

import java.util.List;

/**
 * 企业融资订单Service接口
 *
 * @author ruoyi
 * @date 2025-08-19
 */
public interface IOcBusinessFinancingOrderService extends IService<OcBusinessFinancingOrder> {

    OcBusinessFinancingOrder queryGetById(Long id);

    boolean addOcBusinessFinancingOrder(OcBusinessFinancingOrder ocBusinessFinancingOrder);

    boolean grapOcBusinessFinancingOrder(OcBusinessFinancingOrder ocBusinessFinancingOrder);

    boolean updateOcBusinessFinancingOrder(OcBusinessFinancingOrder ocBusinessFinancingOrder);

    boolean deleteOcBusinessFinancingOrderByIds(Long[] ids);

    boolean addCredit(OcBusinessFinancingOrderVo ocBusinessFinancingOrder);

    boolean addLoan(OcBusinessFinancingOrderVo ocBusinessFinancingOrder);

    List<OcBusinessFinancingOrder> selectFinancingOrderMatch(QueryWrapper ew);

}
